package observer;

public class ObserverEntityThree extends Observer{
    public ObserverEntityThree(Subject subject) {
        this.subject = subject;
        this.subject.attache(this);
    }
    @Override
    public void update() {
        System.out.println("three:"+Integer.toOctalString(subject.getState()));
    }
}
